package com.sc.nft.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.entity.vo.GetRankingBoardDetailsVO;
import lombok.extern.slf4j.Slf4j;
import com.sc.nft.entity.RankingBoardDetailsOddNumber;
import com.sc.nft.mapper.RankingBoardDetailsOddNumberMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 用户排行榜数据详情表(奇数)(sc_ranking_board_details_odd_number)数据DAO
 *
 * @author Sun
 * @since 2023-08-04 10:58:20
 * @description 由 Mybatisplus Code Generator 创建
 */
@Slf4j
@Repository
public class RankingBoardDetailsOddNumberDao extends ServiceImpl<RankingBoardDetailsOddNumberMapper, RankingBoardDetailsOddNumber> {

    public List<GetRankingBoardDetailsVO> getOddNumberDetailsByIdAndUserTel(Long id, String userTel) {
        return baseMapper.getOddNumberDetailsByIdAndUserTel(id, userTel);
    }
}